<!doctype html>
<html lang="en"> 
<?php $this->load->view("templates/page/default/head") . "\n\t";
$act = $this->router->fetch_class();
$method = $this->router->fetch_method();
if($act == "home"){
	$this->load->view("templates/page/default/header"). "\n\t";
}elseif($method == "login"){
}else{
	$this->load->view("templates/page/default/header2"). "\n\t";
}

if (is_array($path))
{
	foreach($path as $value)
	{
		$this->load->view($path);
	}
}
else
{
	$this->load->view($path);
}
if($act == "examSurvey"){
?>
		</div>
	</div>
</div>
<?php
}
if($method != "login"){
	$this->load->view("templates/page/default/footer"). "\n\t";
}
$this->load->view("templates/page/default/footer_js");
echo '</body>' . "\n";
?>
</html>